package com.mengniu.commerce.sync.model;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mengniu.commerce.common.core.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 订单主对象 order_info
 * 
 * @author lzx
 * @date 2023-11-28
 */
@Data
public class MnOrderInfoModel  {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 蒙牛主单号 */
    @Excel(name = "蒙牛主单号")
    private String mnOrderNo;

    /** 有赞订单号 */
    @Excel(name = "有赞订单号")
    private String yzOrderNo;

    /** 微盟订单号 */
    @Excel(name = "微盟订单号")
    private String wmOrderNo;

    /** 旗帜 */
    @Excel(name = "旗帜")
    private Integer banner;

    /** 业态编码 */
    @Excel(name = "业态编码")
    private String businessType;

    /** 业态名称 */
    @Excel(name = "业态名称")
    private String businessTypeName;

    /** 业务单元编码 */
    @Excel(name = "业务单元编码")
    private String businessUnitCode;

    /** 买家账号 */
    @Excel(name = "买家账号")
    private String buyerAccount;

    /** 买家备注 */
    @Excel(name = "买家备注")
    private String buyerNote;

    /** 确认收货日期 */
    @Excel(name = "确认收货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String confirmReceiptTime;

    /** 收货详细地址 */
    @Excel(name = "收货详细地址")
    private String deliveryAddressDetail;

    /** 运费金额 */
    @Excel(name = "运费金额")
    private String freightAmount;

    /** 来源系统编码 */
    @Excel(name = "来源系统编码")
    private String fromSys;

    /** 修改日期 */
    @Excel(name = "修改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String modifierTime;

    /** 订单行备注 */
    @Excel(name = "订单行备注")
    private String note;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private String paidAmount;

    /** 应付金额 */
    @Excel(name = "应付金额")
    private String payableAmount;

    /** 邮编 */
    @Excel(name = "邮编")
    private String postalCode;

    /** 抵扣金额 */
    @Excel(name = "抵扣金额")
    private String promotionAmount;

    /** 收货人名称 */
    @Excel(name = "收货人名称")
    private String receiverName;

    /** 收货人手机号 */
    @Excel(name = "收货人手机号")
    private String receiverPhone;

    /** 收货市编码 */
    @Excel(name = "收货市编码")
    private String receivingCityCode;

    /** 收货市名称 */
    @Excel(name = "收货市名称")
    private String receivingCityName;

    /** 收货国家编码 */
    @Excel(name = "收货国家编码")
    private String receivingCountryCode;

    /** 收货国家名称 */
    @Excel(name = "收货国家名称")
    private String receivingCountryName;

    /** 收货区县编码 */
    @Excel(name = "收货区县编码")
    private String receivingDistrictCode;

    /** 收货区县名称 */
    @Excel(name = "收货区县名称")
    private String receivingDistrictName;

    /** 收货省份编码 */
    @Excel(name = "收货省份编码")
    private String receivingProvinceCode;

    /** 收货省份名称 */
    @Excel(name = "收货省份名称")
    private String receivingProvinceName;

    /** 收货街道编码 */
    @Excel(name = "收货街道编码")
    private String receivingStreetCode;

    /** 收货街道名称 */
    @Excel(name = "收货街道名称")
    private String receivingStreetName;

    /** 订单类型编码 */
    @Excel(name = "订单类型编码")
    private String salesOrderType;

    /** 发货时间 */
    @Excel(name = "发货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String shipTime;

    /** 来源单号 */
    @Excel(name = "来源单号")
    private String sourceOrderNo;

    /** 店铺编码 */
    @Excel(name = "店铺编码")
    private String storeCode;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;

    /** 下单日期 */
    @Excel(name = "下单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String sourceCreateTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ext;

    private Date createTime;

    private Date updateTime;

    /** '推送到蒙牛状态：1:创建成功 2:修改成功 3:创建失败 4:修改失败'*/
    private Integer pushStatus;
}
